package com.huanrong.util;

import org.springframework.stereotype.Component;

import net.sf.json.JSONObject;

@Component
public class ResponseUtil
{
    public String response(Object data)
    {
        JSONObject returnObject = new JSONObject();
        returnObject.put("data", data);
        return returnObject.toString();
    }
}
